package com.neugh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author sot
 * @since 2020-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Real implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 物业缴费Id
     */
      @TableId(value = "realId", type = IdType.AUTO)
    private Integer realId;

    /**
     * 物业费
     */
    private Double realFee;

    /**
     * 电费
     */
    private Double realBill;

    /**
     * 水费
     */
    private Double realWater;

    /**
     * 总价 物业费
     */
    private Double realPrick;

    /**
     * 业主id
     */
    private Integer userId;

    @TableField(exist=false)
    public String userName;
    @TableField(exist=false)
    public String address;

    public static final String REALID = "realId";

    public static final String REALFEE = "realFee";

    public static final String REALBILL = "realBill";

    public static final String REALWATER = "realWater";

    public static final String REALPRICK = "realPrick";

    public static final String USERID = "userId";

}
